﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 工序价格
    /// </summary>
    [Table("PB_ProcecureSubPrice")]
    public partial class PB_ProcecureSubPrice
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 工序Id
        /// </summary>
        public String SubId { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        public DateTime? PriceDate { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public Double? Price { get; set; }
        /// <summary>
        /// 价格类型(0长度 1重量)
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 上限
        /// </summary>
        public Double? Upperlimit { get; set; }
       /// <summary>
       /// 下限
       /// </summary>
        public Double? Lowerlimit { get; set; }
    }
}